package com.anmong.cloud.cloudapi.base;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@Schema
public class BasePageDTO {

    private Integer page = 1;

    private Integer size = 10;

  /*  @ApiModelProperty(value = "开始时间:2019-06-01 00:00:00",example = "2019-06-01 00:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间:2020-12-30 00:00:00",example = "2019-06-02 00:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;*/
}
